<html>
  <head>
    <script type="text/javascript">
      function showAndroidToast(toast) {
          Android.showToast(toast);
      }
    </script>
  </head>
  
  <body>
    <input type="button" value="Say hello" onClick="showAndroidToast('Hello Android!')" />
  </body>
</html>                          